Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

TST: Assist Replace ensure_clean utility function with the temp_file pytest fixture #62435 #62461

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
mroeschke merged 13 commits into pandas-dev:main from pandeconscious:main
Oct 1, 2025

Conversation

Copy link
Contributor

@pandeconscious pandeconscious commented Sep 26, 2025
edited
Loading

@pandeconscious pandeconscious changed the title (削除) TST: Replace ensure_clean utility function (削除ここまで) (追記) TST: Replace ensure_clean utility function with the temp_file pytest fixture #62435 (追記ここまで) Sep 26, 2025
@pandeconscious pandeconscious changed the title (削除) TST: Replace ensure_clean utility function with the temp_file pytest fixture #62435 (削除ここまで) (追記) TST: Replace ensure_clean utility function with the temp_file pytest fixture (追記ここまで) Sep 26, 2025
@pandeconscious pandeconscious changed the title (削除) TST: Replace ensure_clean utility function with the temp_file pytest fixture (削除ここまで) (追記) TST: Replace ensure_clean utility function with the temp_file pytest fixture #62435 (追記ここまで) Sep 26, 2025
@pandeconscious pandeconscious changed the title (削除) TST: Replace ensure_clean utility function with the temp_file pytest fixture #62435 (削除ここまで) (追記) TST: Assist Replace ensure_clean utility function with the temp_file pytest fixture #62435 (追記ここまで) Sep 26, 2025
withtm.ensure_clean("__tmp_to_csv_moar__") aspath:
df.to_csv(path, encoding="utf8", chunksize=chunksize)
recons = self.read_csv(path, **kwargs)
path=str(temp_file)
Copy link
Member

@mroeschke mroeschke Sep 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally, could you try using temp_file as an argument instead of converting to a string when doing these modifications, unless the test appears to explicitly be testing a string argument?

Copy link
Contributor Author

@pandeconscious pandeconscious Oct 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed in the next set of changes, will be ready for review once tests are successful

@mroeschke mroeschke added the Testing pandas testing functions or related to the test suite label Sep 29, 2025
@mroeschke mroeschke merged commit 6cca195 into pandas-dev:main Oct 1, 2025
68 of 73 checks passed
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@mroeschke mroeschke mroeschke approved these changes

Assignees
No one assigned
Labels
Testing pandas testing functions or related to the test suite
Projects
None yet
Milestone
3.0
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /